package com.th.supcom.pds.domain.pojo;

import net.carefx.framework.translate.Translatable;
import net.carefx.framework.translate.annotation.TranslateField;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * DeptVsDispensary Pojo对象.
 * 
 * 科室与药房关系配置.
 */
public class DeptVsDispensary implements java.io.Serializable, Translatable
{
    private static final long serialVersionUID = 1L;

    /** 主键. */
    private Long m_deptVsDispensaryId;

    /** 科室代码. */
    @TranslateField (translatorName = "organizationTranslator", targetFieldName = "m_deptName")
    private String m_deptCode;
    private String m_deptName;

    /** 药房. */
    @TranslateField (translatorName = "organizationTranslator", targetFieldName = "m_dispensaryName")
    private String m_dispensary;
    private String m_dispensaryName;
    /** 药品摆药类型. */
    @TranslateField (fullQualifiedName = "PDS0023", targetFieldName = "m_phamDispenseTypeName")
    private String m_phamDispenseType;
    private String m_phamDispenseTypeName;

    /** 药品材质类型. */
    @TranslateField (fullQualifiedName = "TJ0021", targetFieldName = "m_phamMaterialTypeName")
    private String m_phamMaterialType;
    private String m_phamMaterialTypeName;

    /** 药房班次. */
    @TranslateField (fullQualifiedName = "PDS0022", targetFieldName = "m_shiftName")
    private String m_shift;
    private String m_shiftName;

    /** 是否欠费摆药0-欠费摆药，1-欠费不摆药. */
    @TranslateField (fullQualifiedName = "PDS0033", targetFieldName = "m_isArrearName")
    private Integer m_isArrear;
    private String m_isArrearName;

    /** N=无药退药 Y=有药退药. */
    @TranslateField (fullQualifiedName = "PDS0028", targetFieldName = "m_withdrawTypeName")
    private String m_withdrawType;
    private String m_withdrawTypeName;
    /** 不可退药品是否可退0-不可退 1-可退. */
    @TranslateField (fullQualifiedName = "PDS0032", targetFieldName = "m_isReturnName")
    private Integer m_isReturn;
    private String m_isReturnName;
    
    /** 优先级. */
    private Integer m_prioriyt;

    /**
     * 默认构造器 .
     */
    public DeptVsDispensary ()
    {
    }

    public String getIsReturnName ()
    {
        return m_isReturnName;
    }

    public void setIsReturnName (String isReturnName)
    {
        m_isReturnName = isReturnName;
    }

    /**
     * 获取主键属性.
     * 
     */
    public Long getDeptVsDispensaryId ()
    {
        return m_deptVsDispensaryId;
    }

    /**
     * 设置主键属性.
     * 
     * @param deptVsDispensaryId.
     */
    public void setDeptVsDispensaryId (Long deptVsDispensaryId)
    {
        m_deptVsDispensaryId = deptVsDispensaryId;
    }

    /**
     * 获取科室代码属性.
     * 
     */
    public String getDeptCode ()
    {
        return m_deptCode;
    }

    /**
     * 设置科室代码属性.
     * 
     * @param deptCode.
     */
    public void setDeptCode (String deptCode)
    {
        m_deptCode = deptCode;
    }

    /**
     * 获取药房属性.
     * 
     */
    public String getDispensary ()
    {
        return m_dispensary;
    }

    /**
     * 设置药房属性.
     * 
     * @param dispensary.
     */
    public void setDispensary (String dispensary)
    {
        m_dispensary = dispensary;
    }

    /**
     * 获取药品摆药类型属性.
     * 
     */
    public String getPhamDispenseType ()
    {
        return m_phamDispenseType;
    }

    /**
     * 设置药品摆药类型属性.
     * 
     * @param phamDispenseType.
     */
    public void setPhamDispenseType (String phamDispenseType)
    {
        m_phamDispenseType = phamDispenseType;
    }

    /**
     * 获取药品材质类型属性.
     * 
     */
    public String getPhamMaterialType ()
    {
        return m_phamMaterialType;
    }

    /**
     * 设置药品材质类型属性.
     * 
     * @param phamMaterialType.
     */
    public void setPhamMaterialType (String phamMaterialType)
    {
        m_phamMaterialType = phamMaterialType;
    }

    /**
     * 获取药房班次属性.
     * 
     */
    public String getShift ()
    {
        return m_shift;
    }

    /**
     * 设置药房班次属性.
     * 
     * @param shift.
     */
    public void setShift (String shift)
    {
        m_shift = shift;
    }

    /**
     * 获取是否欠费摆药0-欠费摆药，1-欠费不摆药属性.
     * 
     */
    public Integer getIsArrear ()
    {
        return m_isArrear;
    }

    /**
     * 设置是否欠费摆药0-欠费摆药，1-欠费不摆药属性.
     * 
     * @param isArrear.
     */
    public void setIsArrear (Integer isArrear)
    {
        m_isArrear = isArrear;
    }

    /**
     * 获取N=无药退药 Y=有药退药属性.
     * 
     */
    public String getWithdrawType ()
    {
        return m_withdrawType;
    }

    /**
     * 设置N=无药退药 Y=有药退药属性.
     * 
     * @param withdrawType.
     */
    public void setWithdrawType (String withdrawType)
    {
        m_withdrawType = withdrawType;
    }

    /**
     * 获取不可退药品是否可退0-不可退 1-可退属性.
     * 
     */
    public Integer getIsReturn ()
    {
        return m_isReturn;
    }

    /**
     * 设置不可退药品是否可退0-不可退 1-可退属性.
     * 
     * @param isReturn.
     */
    public void setIsReturn (Integer isReturn)
    {
        m_isReturn = isReturn;
    }

    /**
     * 获取优先级属性.
     * 
     */
    public Integer getPrioriyt ()
    {
        return m_prioriyt;
    }

    /**
     * 设置优先级属性.
     * 
     * @param prioriyt.
     */
    public void setPrioriyt (Integer prioriyt)
    {
        m_prioriyt = prioriyt;
    }

    public String getIsArrearName ()
    {
        return m_isArrearName;
    }

    public void setIsArrearName (String isArrearName)
    {
        m_isArrearName = isArrearName;
    }

    /**
     * 打印字符串.
     * 
     * @return 打印.
     */

    public String toString ()
    {
        StringBuffer sb = new StringBuffer ();
        sb.append ("---------------------------------- start ----------------------------------\n");
        sb.append ("deptVsDispensaryId:" + m_deptVsDispensaryId + " deptCode:" + m_deptCode + " dispensary:" + m_dispensary
                   + "\n");
        sb.append ("phamDispenseType:" + m_phamDispenseType + " phamMaterialType:" + m_phamMaterialType + " shift:" + m_shift
                   + "\n");
        sb.append ("isArrear:" + m_isArrear + " withdrawType:" + m_withdrawType + " isReturn:" + m_isReturn + "\n");
        sb.append ("prioriyt:" + m_prioriyt + "\n");
        sb.append ("----------------------------------  end  ----------------------------------\n");
        return sb.toString ();
    }

    public String getDeptName ()
    {
        return m_deptName;
    }

    public void setDeptName (String deptName)
    {
        m_deptName = deptName;
    }

    public String getDispensaryName ()
    {
        return m_dispensaryName;
    }

    public void setDispensaryName (String dispensaryName)
    {
        m_dispensaryName = dispensaryName;
    }

    public String getPhamDispenseTypeName ()
    {
        return m_phamDispenseTypeName;
    }

    public void setPhamDispenseTypeName (String phamDispenseTypeName)
    {
        m_phamDispenseTypeName = phamDispenseTypeName;
    }

    public String getPhamMaterialTypeName ()
    {
        return m_phamMaterialTypeName;
    }

    public void setPhamMaterialTypeName (String phamMaterialTypeName)
    {
        m_phamMaterialTypeName = phamMaterialTypeName;
    }

    public String getShiftName ()
    {
        return m_shiftName;
    }

    public void setShiftName (String shiftName)
    {
        m_shiftName = shiftName;
    }

    public String getWithdrawTypeName ()
    {
        return m_withdrawTypeName;
    }

    public void setWithdrawTypeName (String withdrawTypeName)
    {
        m_withdrawTypeName = withdrawTypeName;
    }

    /** 日志记录器. */
    public static final Logger logger = LoggerFactory.getLogger (DeptVsDispensary.class);

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";
}